﻿<navigation:Page 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
    xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"
	xmlns:MenuControl="clr-namespace:MenuControl"
    xmlns:PanelUtilities="clr-namespace:eLearning.Pages.PanelUtilities"
	x:Class="eLearning.MasterPage" 
	Title="MasterPage Page"
	d:DesignWidth="640" d:DesignHeight="480" Loaded="PageLoaded">
	
	<Grid x:Name="LayoutRoot" Background="Black" >
        <Grid x:Name="PagePlaceHold" Margin="0,36">
            <Grid x:Name="TestGrid" Background="Red" Width="200" Height="100">
                <PanelUtilities:TitleBar Background="Aqua" Title="Test Panel">
                    <PanelUtilities:ButtonMove Height="20" Width="20" HorizontalAlignment="Right" Margin="0,0,40,0"/>
                    <PanelUtilities:ButtonClose AutoHide="False" Height="20" Width="20" HorizontalAlignment="Right" Margin="0,2" Content="E"/>
                    <PanelUtilities:ButtonSize AutoHide="False" Height="20" Width="20" HorizontalAlignment="Right" Margin="0,0,20,0" Content="S"/>
                </PanelUtilities:TitleBar>
            </Grid>
        </Grid>
            <Grid x:Name="Header" Height="32" VerticalAlignment="Top" Background="#FF1C1C1C" d:LayoutOverrides="GridBox">
			<dataInput:Label x:Name="Time_Date_Label" Background="#FF303030" Foreground="#FFA7A7A7" HorizontalAlignment="Left" Margin="72,3,0,3" Content="Day 22/04/2010"/>            
                <MenuControl:MenuBar HorizontalAlignment="Left" Width="auto" Height="auto" Margin="3,0,0,0" d:IsHidden="True">
				<MenuControl:MenuBarItem MenuText="Site map" Width="auto" Height="auto" Margin="0,0,0,-7">
					<MenuControl:MenuItem x:Name="News_Item" MenuText="News"/>
					<MenuControl:MenuItem x:Name="Classes_Item" MenuText="Classes"/>
					<MenuControl:MenuItem x:Name="Library_Item" MenuText="Library" Click="On_GoLibrary"/>
					<MenuControl:MenuItem x:Name="Forum_Item" MenuText="Forum"/>
				</MenuControl:MenuBarItem>				
			</MenuControl:MenuBar>
			<MenuControl:MenuBar x:Name="UserMenuBar" HorizontalAlignment="Right" Width="auto" Height="auto" Margin="0,0,146,0" d:IsHidden="True">
				<MenuControl:MenuBarItem x:Name="Username_MenuBarItem" MenuText="Hi, Guest! Sign In here" Width="auto" Height="auto" Margin="0,0,0,-7">
					<MenuControl:MenuItem x:Name="SignIn_Item" MenuText="Sign In" Click="On_SignIn"/>
					<MenuControl:MenuItem x:Name="SignUp_Item" MenuText="Sign Up" Click="On_SignUp"/>
					<MenuControl:MenuItem x:Name="StudentRoom_Item" MenuText="Student Room" Click="On_OpenStudentRoom"/>
					<MenuControl:MenuItem x:Name="Profile_Item" MenuText="Profile" Click="On_OpenProfile"/>
					<MenuControl:MenuItem x:Name="SignOut_Item" MenuText="Sign Out" Click="On_SignOut"/>
				</MenuControl:MenuBarItem>				
			</MenuControl:MenuBar>
		</Grid>
		<Grid x:Name="Footer" Height="32" VerticalAlignment="Bottom" Background="#FF222222">
			<TextBlock Margin="8,8,0,8" Foreground="#FF7C7C7C" TextAlignment="Center" TextWrapping="Wrap" d:LayoutOverrides="HorizontalAlignment" HorizontalAlignment="Left"><Run Text="eLearning Center Beta | © 2010"/><Run Text=" nCore team"/></TextBlock>
			<HyperlinkButton HorizontalAlignment="Right" Margin="0,8,16,8" Content="Help"/>
			<HyperlinkButton HorizontalAlignment="Right" Margin="0,8,66,8" Content="About us"/>
			<dataInput:Label HorizontalAlignment="Right" Margin="0,8,49,8" Content=" | " Foreground="#FF707070"/>
		</Grid>
	</Grid>
</navigation:Page>